import cssutils

sheet = cssutils.parse("game/style.css")

style = dict()

for rule in sheet.cssRules:
    if isinstance(rule, cssutils.css.csscomment.CSSComment): continue
    style[rule.selectorText] = rule.style
    


    
